knowledgewright4/samples/support/tutorial/printer_1.kb
First, we will build a knowledgebase with one solution. This knowledgebase diagnoses printer problems. During the course of this tutorial we will expand this into a more complete system.
Our first solution checks if the printer is powered on.
The values for symptom and powered_on come from the user. To ask, we need two questions. Using the Object/New menu, create two question objects with these attributes:
id symptom path / prompt What problem are you experiencing? question_type menu_single_choice question_style listboxchoices no output light output no color default ask_also
id powered_on path / prompt Is the printer plugged in and turned on? question_type menu_single_choice question_style listboxchoices yes no default ask_also
Select Run/Run to test your knowledgebase. Select "no_output" as the symptom and "no" to powered_on. The power solution should be displayed.